package com.bruce.pattern.structural.proxy;

import com.bruce.pattern.structural.proxy.db.DynamicDataSourcce;
import lombok.extern.slf4j.Slf4j;

/**
 * Created by bruce on 2018/11/8 22:00
 */
@Slf4j
public class OrderDaoImpl implements IOrderDao {

    private DynamicDataSourcce dataSourcce = new DynamicDataSourcce();

    @Override
    public int insertOrder(Order order) {
        log.info("插入数据库成功");
        return 1;
    }
}
